package com.ykh.mybbsdemo.service;

import com.ykh.mybbsdemo.vo.CategoryVo;
import com.ykh.mybbsdemo.vo.Result;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-08-31
 * Time: 20:05
 */
public interface CategoryService {

    //根据分类id查找分类
    CategoryVo findCategoryById(Long categoryId);

    //查找所有文章分类
    Result findAll();

    //查询所有文章分类(字段详细)
    Result findAllDetail();


    Result categoriesDetailById(Long id);
}
